 

import Layout from '@/layout'

const orderRouter = {
  path: '/statistic',
  component: Layout,
  redirect: '/statistic/product',
  name: 'statistic',
  alwaysShow: true,
  meta: {
    title: '统计管理',
    icon: 'clipboard'
  },
  children: [
    {
        path: 'product',
        name: `product`,
        meta: { title: '商品统计'},
        component: () => import('@/views/statistic/product/index'),
    },
    {
        path: 'transaction',
        name: `transaction`,
        meta: {title: '交易统计'},
        component: () => import('@/views/statistic/transaction/index')
    }
]
}

export default orderRouter
